// filename: frontend/vite.config.js

import uni from "@dcloudio/vite-plugin-uni";
import { defineConfig } from "vite";

// https://vitejs.dev/config/
export default defineConfig({
  // 1. 移除所有 vueOptions
  plugins: [uni()],
  // 2. 保留修复音频播放问题所必需的 server.mimeTypes
  server: {
    mimeTypes: {
      ".mp3": "audio/mpeg",
    },
  },
});
